{config_load file="$language/affiliate.conf" section="affiliate_contact"}
<h1 class="contentBoxHeading">{#heading_title#}</h1>
<table width="100%" border="0" cellspacing="0" cellpadding="1" class="infoBox">
  {if $SUMMARY_LINK neq ''}
  <tr>
    <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
	  <tr>
		{#text_success#}
	  </tr>
      <tr>
        <td align="right"><br>{$SUMMARY_LINK}</td>
      </tr>
    </table></td>
  </tr>
  {else}
  <tr>
    <td>{$FORM_ACTION}<table border="0" width="100%" cellspacing="0" cellpadding="2">
      <tr>
        <td class="main">{#entry_name#}</td><td class="main">{$INPUT_NAME}</td>
      </tr>
      <tr>
        <td class="main">{#entry_email#}</td><td class="main">{$INPUT_EMAIL}{if $error == 'true'}&nbsp;{#entry_email_address_check_error#}{/if}</td>
      </tr>
      <tr>
        <td class="main" colspan="2">{#entry_enquiry#}</td>
      </tr>
      <tr>
        <td colspan="2">{$TEXTAREA_ENQUIRY}</td>
      </tr>
      <tr>
        <td class="main" align="right" colspan="2"><br>{$BUTTON_SUBMIT}</td>
      </tr>
    </table></form></td>
  </tr>
  {/if}
</table>
